#ifndef __HAL_H
#define __HAL_H

#include <stdint.h>
#include <Arduino.h>
#include "OneButton.h"

#define VERSION_FIRMWARE_NAME   "Pink\n"
#define VERSION_SYSTEM_NAME     "LVGL_V8.2\n"
#define VERSION_HARDWARE        "V1.0\n"
#define VERSION_SOFTWARE        "V1.0\n"
#define VERSION_MCU             "ESP32\n"
#define VERSION_AUTHOR_NAME     "LAN"

#define CONFIG_BAT_DET_PIN 36
#define CONFIG_BAT_CHG_DET_PIN 39
#define CONFIG_POWER_EN_PIN 19
#define CONFIG_ENCODER_PUSH_PIN 32

namespace Hal
{
	void Init();
	void Update();
}

#endif